package com.ddstation.common.service;

import com.ddstation.common.mapper.MaInvsItemMapper;
import com.ddstation.common.model.InvsItemModel;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import javax.inject.Inject;
import java.util.List;

@Service @Lazy
public class InvsItemServiceImpl implements InvsItemService {

	@Inject private MaInvsItemMapper maInvsItemMapper;

	@Override
	public List<InvsItemModel> getInvsItemList(Integer catalogId) {
		return maInvsItemMapper.searchInvsItemList(catalogId);
	}
}
